<?php

Route::group(['prefix' => 'web','namespace' => 'Web'], function () {
    Route::get('register/{uid?}', 'RegisterController@register');  //测试，zwp
    Route::get('testsession', 'RegisterController@testSession');
    Route::get("maininfo/{token}","RegisterController@mainInfo");
    Route::get("login","RegisterController@login");
    
    
    Route::get("index", "IndexController@index");
    Route::get("signout", "IndexController@signOut");
});
/*
Route::group(['prefix' => 'user', 'namespace' => 'User'], function(){
    //需要登陆
    Route::get('set-typetest', 'IndexController@userSetType')->middleware("web.test_uid");//设置账号主体类型：1个人用户；2公司；3工厂；4企业类型（有公司有工厂有外发，同时具备2，3的资质）;0未确认主体
});
*/